package top.resty.erp.service;

import top.resty.erp.commont.VOBrandAndVariety;
import top.resty.erp.domain.Variety;

import java.util.List;

/**
 * <pre>
 *
 * </pre>
 *
 * @author : resty
 * @date : 2021年03月22 11:56
 */
public interface VarietyService {
	
	public boolean saveVariety(Variety variety);
	
	public List<VOBrandAndVariety> getBrandAndVarieties(Integer brandId);
	
	public boolean deleteVariety(Integer id);
	
	public boolean updateVariety(Variety variety);
	
	public List<Variety> getVarietyForBrandId(Integer brandId);
	
	public int queryBrandIdCountsForVarieties(Integer brandId);
	
}
